package com.lyf.scm.plan.domain.service;


import com.github.pagehelper.PageInfo;
import com.lyf.scm.common.model.ExcelExportDataDTO;
import com.lyf.scm.plan.api.dto.SalesPlanOtherAccuracyInfoDTO;
import com.lyf.scm.plan.api.dto.SalesPlanOtherAccuracyDTO;

import java.util.List;

/**
 * description:
 * 其他渠道计划_目标与销售计划准确率service
 *
 * @author: huangtao
 * @data: 2020/7/31
 */
public interface SalesPlanOtherAccuracyService {

    /**
     * 按条件查询其他渠道计划_目标与销售计划准确率(周)
     * @param slaesPlanOtherAccuracy
     * @return
     */
    PageInfo<SalesPlanOtherAccuracyInfoDTO> listWeekBySelective(SalesPlanOtherAccuracyDTO slaesPlanOtherAccuracy);
    /**
     * 查询全渠道其他渠道计划_目标与销售计划准确率(范围)
     * @param slaesPlanOtherAccuracy
     * @return
     */
    List<SalesPlanOtherAccuracyInfoDTO> listAllByCycles(SalesPlanOtherAccuracyDTO slaesPlanOtherAccuracy);
    /**
     * 导出
     * @param slaesPlanOtherAccuracy
     * @param type
     * @throws Exception
     */
    ExcelExportDataDTO export(SalesPlanOtherAccuracyDTO slaesPlanOtherAccuracy, Integer type) throws Exception;

    /**
     * 删除对应标识数据
     *
     * @param opSign
     */
    void delete(String opSign);
}
